﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace CHS.ChengDu.Service
{
    public class CHSEncryptionInput
    {
        /// <summary>
        /// 用户ID
        /// </summary>
        public string UserId { get; set; }
        /// <summary>
        /// 私钥
        /// </summary>
        public string PrivateKey { get; set; }
        /// <summary>
        /// 公钥
        /// </summary>
        public string PublicKey { get; set; }
        /// <summary>
        /// 待加密或解密的文本
        /// </summary>
        public string Input { get; set; }
        /// <summary>
        /// 签名输入
        /// </summary>
        public string SignInput { get; set; }
        /// <summary>
        /// 密钥
        /// </summary>
        public string AppSercret { get; set; }
        /// <summary>
        /// AppId
        /// </summary>
        public string AppId { get; set; }
        
    }

    public class CHSEncryptionOutput
    {
        /// <summary>
        /// 状态编码
        /// </summary>
        public int Code { get; set; } = 0;
        /// <summary>
        /// 错误信息
        /// </summary>
        public string Message { get; set; } = "成功";

        public string output { set; get; }
    }
}
